﻿using System; 
using System.Text;
using System.Collections.Generic; 
using System.Data;
///
namespace Common.Model 
{
	 	//StockAlert
	[Serializable]
	public class StockAlert
	{
   	    public StockAlert(){
            _createtime = new DateTime(1900, 1, 1);
            _downchangetime = new DateTime(1900, 1, 1);
            _upchangetime = new DateTime(1900, 1, 1);
        }
      	/// <summary>
		/// Id
        /// </summary>		
		private int _id;
        public int Id
        {
            get{ return _id; }
            set{ _id = value; }
        }        
		/// <summary>
		/// CustomerId
        /// </summary>		
		private int _customerid;
        public int CustomerId
        {
            get{ return _customerid; }
            set{ _customerid = value; }
        }        
		/// <summary>
		/// Code
        /// </summary>		
		private string _code;
        public string Code
        {
            get{ return _code; }
            set{ _code = value; }
        }        
		/// <summary>
		/// UpAlertPrice
        /// </summary>		
		private decimal _upalertprice;
        public decimal UpAlertPrice
        {
            get{ return _upalertprice; }
            set{ _upalertprice = value; }
        }        
		/// <summary>
		/// UpAlertMargin
        /// </summary>		
		private decimal _upalertmargin;
        public decimal UpAlertMargin
        {
            get{ return _upalertmargin; }
            set{ _upalertmargin = value; }
        }        
		/// <summary>
		/// UpAuto
        /// </summary>		
		private decimal _upauto;
        public decimal UpAuto
        {
            get{ return _upauto; }
            set{ _upauto = value; }
        }        
		/// <summary>
		/// UPChangeTime
        /// </summary>		
		private DateTime _upchangetime;
        public DateTime UPChangeTime
        {
            get{ return _upchangetime; }
            set{ _upchangetime = value; }
        }        
		/// <summary>
		/// DownAlertPrice
        /// </summary>		
		private decimal _downalertprice;
        public decimal DownAlertPrice
        {
            get{ return _downalertprice; }
            set{ _downalertprice = value; }
        }        
		/// <summary>
		/// DownAlertMargin
        /// </summary>		
		private decimal _downalertmargin;
        public decimal DownAlertMargin
        {
            get{ return _downalertmargin; }
            set{ _downalertmargin = value; }
        }        
		/// <summary>
		/// DownAuto
        /// </summary>		
		private decimal _downauto;
        public decimal DownAuto
        {
            get{ return _downauto; }
            set{ _downauto = value; }
        }        
		/// <summary>
		/// DownChangeTime
        /// </summary>		
		private DateTime _downchangetime;
        public DateTime DownChangeTime
        {
            get{ return _downchangetime; }
            set{ _downchangetime = value; }
        }        
		/// <summary>
		/// CreateTime
        /// </summary>		
		private DateTime _createtime;
        public DateTime CreateTime
        {
            get{ return _createtime; }
            set{ _createtime = value; }
        }        
		   
	}
}